package com.atguigu.springcloud.feign;

import org.springframework.stereotype.Component;

/**
 * @Author: cheng song
 * @Description:
 * @Date: Created in 22:22 2021/9/6
 * @ModifiedBy:
 */
@Component
public class PaymentFallbackService implements OrderFeignService {
    @Override
    public String paymentInfo_OK(Integer id) {
        return "PaymentFallbackService---paymentInfo_OK--ok服务降级";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "PaymentFallbackService---paymentInfo_TimeOut--timeout服务降级";
    }
}
